const {updateData} = require('../util/db-util')

async function updateUser(id, password) {
    updateData('user', {password}, id)
}

module.exports = updateUser